package com.exercise.activemq.configuration;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.jms.annotation.EnableJms;

/**
 * @author admin
 * 2019/12/13-10:06
 **/
@Configuration
@EnableJms
public class ActiveMqConfiguration {
    @Value("${spring.activemq.user}")
    private String username;
    @Value("${spring.activemq.password}")
    private String password;
    @Value("{spring.activemq.broker-url}")
    private String  brokerUrl;
}
